﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sharp.Infrastructure
{
    /// <summary>
    /// 添加记录的日志信息
    /// </summary>
    public interface ILogCreatedEntity
    {
        /// <summary>
        /// 添加日期
        /// </summary>
        /// <value>添加日期</value>
        System.DateTime? CreatedTime { get; set; }

        /// <summary>
        /// 录入员的id
        /// </summary>
        /// <value>录入员的id</value>
        int? CreatedUserId { get; set; }
    }

    /// <summary>
    /// 添加记录的日志信息，含冗余信息
    /// </summary>
    public interface ILogCreatedExEntity : ILogCreatedEntity
    {
        /// <summary>
        /// 录入员的用户名
        /// </summary>
        string CreatedUserName { get; set; }
    }
}